package com.memorypalace.knowledge.pojo;

import java.util.List;

import com.memorypalace.pojo.Note;
import com.memorypalace.pojo.User;

public class KnowledgeTree {
	
	private String knowledgeId;
	private String userId;
	private String fatherKnowledgeId;
	private String knowledgeName;
	private Integer knowledgeType;//1:节点,2:母集,3:顺序,4:有向图
	
	private List subKnowledgeTrees;
	private User user;
	private KnowledgeTree fatherKnowledgeTree;
	private List<Note> noteList;
	
	public KnowledgeTree() {
	}
	public String getKnowledgeId() {
		return knowledgeId;
	}
	public void setKnowledgeId(String knowledgeId) {
		this.knowledgeId = knowledgeId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getFatherKnowledgeId() {
		return fatherKnowledgeId;
	}
	public void setFatherKnowledgeId(String fatherKnowledgeId) {
		this.fatherKnowledgeId = fatherKnowledgeId;
	}
	public String getKnowledgeName() {
		return knowledgeName;
	}
	public void setKnowledgeName(String knowledgeName) {
		this.knowledgeName = knowledgeName;
	}
	public Integer getKnowledgeType() {
		return knowledgeType;
	}
	public void setKnowledgeType(Integer knowledgeType) {
		this.knowledgeType = knowledgeType;
	}
	public List getSubKnowledgeTrees() {
		return subKnowledgeTrees;
	}
	public void setSubKnowledgeTrees(List subKnowledgeTrees) {
		this.subKnowledgeTrees = subKnowledgeTrees;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	@Override
	public String toString() {
		return "KnowledgeTree [knowledgeId=" + knowledgeId + ", userId=" + userId + ", fatherKnowledgeId="
				+ fatherKnowledgeId + ", knowledgeName=" + knowledgeName + ", knowledgeType=" + knowledgeType
				+ ", subKnowledgeTrees=" + subKnowledgeTrees + ", user=" + user + "]";
	}
	public KnowledgeTree getFatherKnowledgeTree() {
		return fatherKnowledgeTree;
	}
	public void setFatherKnowledgeTree(KnowledgeTree fatherKnowledgeTree) {
		this.fatherKnowledgeTree = fatherKnowledgeTree;
	}
	public List<Note> getNoteList() {
		return noteList;
	}
	public void setNoteList(List<Note> noteList) {
		this.noteList = noteList;
	}

	
}
